#ifndef APPLICATION_H
#define APPLICATION_H

#include <QtGui/QMainWindow>
#include "ui_application.h"
class ListenServer;
class Client;
class FileDB;
class Application : public QMainWindow
{
	Q_OBJECT

public:
	Application(QWidget *parent = 0, Qt::WFlags flags = 0);
	~Application();

private slots:
	void StartServer();
	void ConnectServer();

private:
	Ui::ApplicationClass ui;
	ListenServer* pListenServer; 
	Client* pClient;
};

#endif // APPLICATION_H
